package com.wgts.wgts.netmodle.resp;

import android.os.Parcel;
import android.os.Parcelable;

public class ActivityListEntity implements Parcelable{

    public int id;

    public String name;

    public String beginTime;

    public String endTime;

    public String ruleType;

    public String loading;

    public ActivityListEntity(){}

    protected ActivityListEntity(Parcel in) {
        id = in.readInt();
        name = in.readString();
        beginTime = in.readString();
        endTime = in.readString();
        ruleType = in.readString();
        loading = in.readString();
    }

    public static final Creator<ActivityListEntity> CREATOR = new Creator<ActivityListEntity>() {
        @Override
        public ActivityListEntity createFromParcel(Parcel in) {
            return new ActivityListEntity(in);
        }

        @Override
        public ActivityListEntity[] newArray(int size) {
            return new ActivityListEntity[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeString(name);
        dest.writeString(beginTime);
        dest.writeString(endTime);
        dest.writeString(ruleType);
        dest.writeString(loading);
    }
}
